package io;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

/**
 * 说明:
 *
 * @author: luohaowei
 * @date:2023/3/8
 * 将所有的小写字母写入到文件
 **/
public class Test {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos=new FileOutputStream("fos.txt");
        for (int i=0;i<26;i++){
            fos.write(97+i);
        }
        System.out.println("ok");
        fos.close();
    }
}
